//
//  AppDelegate_iPad.h
//  WRY
//
//  Created by Yang on 8/19/10.
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LoginVC_iPad;
@class RootVC_iPad;

@interface AppDelegate_iPad : NSObject <UIApplicationDelegate> {
    UIWindow *window;
    LoginVC_iPad *loginController;
	RootVC_iPad *rootController;
    
    NSString *GUID;

    NSString *userCantonCodes;//用户行政区
    NSString *showCantonName;//行政区名称
    NSString *userType;//用户权限类型
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property(nonatomic,retain)LoginVC_iPad *loginController;
@property(nonatomic,retain)RootVC_iPad *rootController;
@property (nonatomic,retain)NSString *GUID;
@property(nonatomic,retain)NSString *userCantonCodes;
@property(nonatomic,retain)NSString *showCantonName;
@property(nonatomic,retain) NSString *userType;


+ (AppDelegate_iPad *)currentDelegate;
-(void)addRootVc;
-(void)addLoginVc;
-(void)restartApplication;
@end

